<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
</head>

<body>
    <div id="info"></div>

    <script src="./jquery.js"></script>
    <script>
        $(function() {
            var userInfo = {
                uname: "张三",
                age: 12,
                gender: "男"
            };
            var tags =
                " <ul><li>" +
                userInfo.uname +
                "</li><li>" +
                userInfo.age +
                "</li><li>" +
                userInfo.gender +
                "</li></ul>";
            $("#info").html(tags);
        });
    </script>
</body>

</html>